package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * editFactory对象 mes_factory
 * 
 * @author ruoyi
 * @date 2022-07-14
 */
public class MesFactory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 工厂 */
    @Excel(name = "工厂")
    private String factory;

    /** 工厂编号 */
    private String site;

    /** 是否启用 */
    private String isuse;

    /** 区域 */
    @Excel(name = "区域")
    private String region;

    /** $column.columnComment */
    private String createuser;

    private Date Createtime;

    private Date Updatetime;

    public Date getCreatetime() {
        return Createtime;
    }

    public void setCreatetime(Date createtime) {
        Createtime = createtime;
    }

    public Date getUpdatetime() {
        return Updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        Updatetime = updatetime;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setFactory(String factory) 
    {
        this.factory = factory;
    }

    public String getFactory() 
    {
        return factory;
    }
    public void setSite(String site) 
    {
        this.site = site;
    }

    public String getSite() 
    {
        return site;
    }
    public void setIsuse(String isuse) 
    {
        this.isuse = isuse;
    }

    public String getIsuse() 
    {
        return isuse;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setCreateuser(String createuser) 
    {
        this.createuser = createuser;
    }

    public String getCreateuser() 
    {
        return createuser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factory", getFactory())
            .append("site", getSite())
            .append("isuse", getIsuse())
            .append("region", getRegion())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("createuser", getCreateuser())
            .toString();
    }
}
